package com.gitee.wsl.ext.bitcode

infix fun Long.urem(b: Long): Long = (toULong() % b.toULong()).toLong()

infix fun Int.urem(b: Int): Int = (toUInt() % b.toUInt()).toInt()

infix fun Byte.urem(b: Byte): Byte = toUByte().rem(b.toUByte()).toByte()

infix fun Short.urem(b: Short): Short = (toUShort() % b.toUShort()).toShort()